import axios from 'axios'

const instance = axios.create({
  baseURL: '/api', // 通过 nginx 代理转发到后端
  timeout: 5000
})

export default instance